﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfSnqkGasAnalysis.Model
{
	/// <summary>
	/// 实体，水露点，主表
	/// </summary>
	/// 创建时间：2022-12-23 10:53:48。
	public class Water_point:BaseModel
    {
		/// <summary>
		/// 主键
		/// </summary>
		public long Id { get; set; }

		/// <summary>
		/// 报告编号
		/// </summary>
		public string Report_no { get; set; }

		/// <summary>
		/// 委托单位
		/// </summary>
		public long? Client { get; set; }

		/// <summary>
		/// 分析人
		/// </summary>
		public long? Analyst { get; set; }

		/// <summary>
		/// 流体介质温度
		/// </summary>
		public decimal? FluTemperature { get; set; }

		/// <summary>
		/// 井站及井号
		/// </summary>
		public string WellAndWellNo { get; set; }

		/// <summary>
		/// 汽源
		/// </summary>
		public string AirSource { get; set; }

		/// <summary>
		/// 分析时间
		/// </summary>
		public string Analytime { get; set; }

		/// <summary>
		/// 分析单位
		/// </summary>
		public long? AnalyUnit { get; set; }

		/// <summary>
		/// 测试位置
		/// </summary>
		public string TestLocation { get; set; }

		/// <summary>
		/// 环境温度
		/// </summary>
		public decimal? AmbientTemperature { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public string Createtime { get; set; }

		/// <summary>
		/// 1=待校对，2=待审核，3=驳回，4=审核通过
		/// </summary>
		public byte? StepCurrent { get; set; }

		/// <summary>
		/// 录入人id
		/// </summary>
		public long InputUserId { get; set; }

		/// <summary>
		/// 录入人姓名
		/// </summary>
		public string InputUserRealName { get; set; }

		/// <summary>
		/// 校对人(姓名)
		/// </summary>
		public string Proofreader { get; set; }

		/// <summary>
		/// 校对人 id
		/// </summary>
		/// 创建时间：2023-1-9 00:43:27
		public long? ProofreaderUserId { get; set; }

		/// <summary>
		/// 校对时间
		/// </summary>
		public string ProofreaderTime { get; set; }

		/// <summary>
		/// 删除时间
		/// </summary>
		public string DeleteTime { get; set; }

		/// <summary>
		/// 步骤值，文本
		/// </summary>
		public string StepCurrentTXT
		{
			get
			{
				if (StepCurrent == 1)
				{
					return "待校对";
				}
				if (StepCurrent == 2)
				{
					return "待审核";
				}
				if (StepCurrent == 3)
				{
					return "被驳回";
				}
				if (StepCurrent == 4)
				{
					return "审核通过";
				}
				return "待校对";
			}
		}

	}
}
